﻿using System;
using System.Collections.Generic;
using Moonwish.Core;
using Moonwish.Foundation.DataAccess.Interface;
using Moonwish.Foundation.DataAccess.SqlServer.AppModuleCmd;
using Moonwish.Foundation.DataEntity;

namespace Moonwish.Foundation.DataAccess.SqlServer
{
    public class AppModuleDA :IAppModuleDA
    {
        public void Add(List<V_FDT_App> items, string userId)
        {
            using (var context = new TAppModuleContainer())
            {
                new AddCommand(context, items, userId).Execute();
            }
        }

        public void Update(List<V_FDT_App> items, string userId)
        {
            throw new NotImplementedException();
        }

        public void Delete(List<string> ids, string userId)
        {
            throw new NotImplementedException();
        }

        public List<V_FDT_App> Query(Request request)
        {
            throw new NotImplementedException();
        }

        public void Publish(List<string> ids, string userId)
        {
            throw new NotImplementedException();
        }

        public void Disable(List<string> ids, string userId)
        {
            throw new NotImplementedException();
        }
    }
}
